<?php echo $this->doctype();?>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php echo $this->headTitle();?>
<?php echo $this->headMeta();?>
<?php echo $this->headLink();?>
<?php echo $this->headScript();?>
<?php echo $this->headStyle();?>



</head>

<body >
<div id="contain">
<div id="header">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="26%" bgcolor="#000000">
      <embed src="<?php echo $this->flashUrl;?>/logo.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="104" height="92"></embed>
    
      <img src="<?php echo $this->imgUrl?>/laptoponline.gif" width="140" height="92" /></td>
    <td width="74%" align="center" valign="bottom" bgcolor="#000000">
  <a href="<?php echo $this->url(array("controller"=>"index","action"=>"index"),null,true);?>" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image1','','<?php echo $this->imgUrl //Xem ghi chu cho Tintuc o phia duoi ?>/trangchu2.gif',1)"><img src="<?php echo $this->imgUrl  ?>/trangchu1.gif" name="Image1"  border="0" id="Image1" /></a>
  <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image21','','<?php echo $this->imgUrl  ?>/maytinhxachtay2.gif',0)"> <img src="<?php echo $this->imgUrl  ?>/maytinhxachtay1.gif" name="Image21" width="132" height="24" border="0" id="Image21" /></a>
  <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image11','','<?php echo $this->imgUrl  ?>/laptopmoive2.gif',1)"> <img src="<?php echo $this->imgUrl  ?>/laptopmoive1.gif" name="Image61" border="0" id="Image11" /></a>
  <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image31','','<?php echo $this->imgUrl  ?>/hangdoc2.gif',1)"> <img src="<?php echo $this->imgUrl  ?>/hangdoc1.gif" name="Image31" width="99" height="24" border="0" id="Image31" /></a>
  <a href="<?php echo $this->url(array("controller"=>"news","action"=>"index"),null,true);//Link den views viewAction index.phtml?>" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image41','','<?php echo $this->imgUrl //Image tintuc2.gif phia sau hien thi khi click hoac onover Mouses qua link Tintuc ?>/tintuc2.gif',1)"> <img src="<?php echo $this->imgUrl //Images indexdemo1.gif hien thi link den viewAction Index.phtml ?>/indexdemo1_11.gif" name="Image41" border="0" id="Image41" /></a></td>
  </tr>
</table>

 
</div>
<div id="menu">
  <div id="leftsea">
  </div>
  <div id="rightsea">
  </div>
    <br />
<br />
<br />
 <div style="background-color:#FFFFFF">
 <table width="100%">
<tr>
<td>
<img src="<?php echo $this->imgUrl?>/slide.jpg">
</td>
<td width="600">
<script type="text/javascript">
$(function() {
    $(".anyClass").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".prev",
		 auto: 800,
        speed: 2000,
		visible: 5.6
    });
});
  </script>
 <div class="auto">       
<div class="anyClass">
<ul>
        <li><img src="/zendshopping/public/upload/1293079785.jpg" alt="" width="150" height="120" />
        
        </li>
        <li><img src="/zendshopping/public/upload/1292865812.jpg" alt="" width="150" height="120" ></li>
        <li><img src="/zendshopping/public/upload/1293079785.jpg" alt="" width="150" height="120" ></li>
        <li><img src="/zendshopping/public/upload/1293078954.jpg" alt="" width="150" height="120" ></li>
        <li><img src="/zendshopping/public/upload/1293079785.jpg" alt="" width="150" height="120" ></li>
        <li><img src="/zendshopping/public/upload/1293079785.jpg" alt="" width="150" height="120" ></li>
        <li><img src="/zendshopping/public/upload/1293079785.jpg" alt="" width="150" height="120" ></li>
        <li><img src="/zendshopping/public/upload/1293078954.jpg" alt="" width="150" height="120" ></li>
     
    </ul>
    
</div>
</div>
</td>
<td>
<img src="<?php echo $this->imgUrl?>/slide2.jpg">
</td>
</tr>
</table>

  </div>
  <img src="<?php echo $this->imgUrl?>/camonqk.gif" width="100%" height="26" />
   </div>
<div id="main">
<div id="left"> 
 
    <?php 
   	if($this->controller=='product')//Neu controller la prodect thi thay the cot ben trai id = left(xem o dong ngay tren dong nay)se la khoi lenh ben duoi
   	{
   		echo $this->filter(); //Show tim theo phan khuc(Xem zend_view_helper trong folder zendvn)
   		echo $this->render('/html/online.php');//Show ra ho tro truc tuyen xem code file online.php
   												//Nguoc lai controller khac product thi cot ben trai duoc hien thi la 4 zendvn view helper phia duoi.
   												//Cot ben phai ko thay doi va duoc hien thi o file footer.php.Noi dung content se duoc view o giua.
   	}
   	else{	//Show ra 4 Controller
   		   echo $this->searchMenu();
		    echo $this->manuFactory();
		    echo $this->searchPartical();
		    echo $this->searchCpu();
   	}	
 
    
    ?>

</div>
